Learn R Programming

dnapath (version 0.7.4)

[[.dnapath_list: Extract results of a single pathway from a 'dnapath_list' object.

Description

Extract results of a single pathway from a 'dnapath_list' object.

Usage

# S3 method for dnapath_list
[[(x, i, ...)

Arguments

x

A 'dnapath_list' object from dnapath.

i

The index specifying which pathway to extract.

...

Additional arguments are ignored.

Value

A 'dnapath' object containing a single pathway result.

Examples

Run this code
# NOT RUN {
data(meso)
data(p53_pathways)
set.seed(0)
results <- dnapath(x = meso$gene_expression, pathway_list = p53_pathways,
                   group_labels = meso$groups, n_perm = 10)
results[[1]]
# }

Run the code above in your browser using DataLab